<template>
  <div>
    <div class="banner">
      <div class="content">
        <div class="job">
          <div class="text1">{{ title }}</div>
          <div class="text2">{{ text }}</div>
        </div>
      </div>
    </div>
    <div class="isbody">
      <div class="content">
        <div class="isleft">
          <div class="textRow1">
            <i style="font-size: 50px" :class="'iconfont ' + iconfont"></i>
            <p>{{ title }}</p>
          </div>
          <div class="textRow2">{{ content }}</div>
        </div>
        <div class="isright">
          <img :src="img" alt="" />
        </div>
      </div>
    </div>
    <slot name="module1"></slot>
    <slot name="module2"></slot>
    <div v-if="$route.path.indexOf('zyjn') == -1" class="isbutton">
      <el-button @click="apply">申请试用</el-button>
    </div>
  </div>
</template>

<script>
export default {
  props: ["title", "text", "iconfont", "content", "img"],
  methods: {
    apply() {
      this.$router.push("/introduce/applyFORtrial");
    },
  },
};
</script>

<style lang="scss" scoped>
p {
  margin: 0;
}

.banner {
  width: 100%;
  background: url("@/assets/introduce/banner.png");
  height: 441px;
  min-width: 1320px;
  background-position: 50%;
  overflow: hidden;
  .content {
    margin: auto;
    width: 1320px;
    height: 168px;
    margin-top: 114px;
    .job {
      display: inline-block;
      max-width: 900px;
      box-sizing: border-box;
      height: 168px;
      padding: 36px 48px;
      background: linear-gradient(
        130deg,
        rgba(250, 253, 255, 0.5) 0%,
        #ffffff 100%,
        #f4f9ff 100%
      );
      box-shadow: 0px 9px 24px 10px rgba(169, 199, 255, 0.2);
      border-radius: 8px;
      .text1 {
        font-size: 42px;
        font-weight: 600;
        color: #333333;
        margin-bottom: 13px;
        width: auto;
      }
      .text2 {
        font-size: 16px;
        font-weight: 400;
        color: #6f7b94;
      }
    }
  }
}
.isbody {
  height: 610px;
  overflow: hidden;
  width: 1320px;
  background: url("@/assets/introduce/bg.png");
  background-position: 50%;
  margin: auto;
  .content {
    margin: 100px auto 0;
    width: 1128px;
    height: 410px;
    line-height: 28px;
    background: #ffffff;
    box-shadow: 0px 6px 21px 8px rgba(16, 75, 193, 0.1);
    border-radius: 16px;
    padding: 60px 54px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    .isleft {
      width: 528px;
      height: 310px;
      // background: pink;
      i {
        margin-right: 20px;
      }
      .textRow1 {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        p {
          font-size: 24px;
          font-weight: 600;
          color: #333333;
          line-height: 33px;
        }
        margin-bottom: 26px;
      }
      .textRow2 {
        font-size: 16px;
        text-align: justify;
        // font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #333333;
        line-height: 28px;
        letter-spacing: 1px;
      }
    }
    .isright {
      height: 310px;
      width: 421px;
    }
  }
}
.isbutton {
  margin: 64px auto 100px;
  display: flex;
  justify-content: center;
  /deep/ .el-button {
    width: 240px;
    height: 46px;
    background: #0052d9;
    border-radius: 4px;
    color: #fff;
  }
}
</style>